package com.qf.mapper;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {

    User selectUserById(Integer uid);

    int subUser(User user);

    User selectUserByTel(@Param("tel") String tel,@Param("password") String password);

    int updateUserByTel(@Param("nowtel") String nowtel,@Param("tel") String tel);
}
